package com.xbb.monitor.entity.echarts;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

public class LineBean {
    String name;
    String type;
    String stack;
    List<String[]> data;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    LineLabelBean label;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    AreaStyle areaStyle;

    public LineBean(){

    }

    public LineBean(String name,String type){
        this.name = name;
        this.type = type;
    }

    public LineBean(String name,String type,LineLabelBean label){
        this.name = name;
        this.type = type;
        this.label = label;
    }

    public LineBean(String name,String type,String stack){
        this.name = name;
        this.type = type;
        this.stack = stack;
    }

    public LineBean(String name,String type,String stack,AreaStyle areaStyle){
        this.name = name;
        this.type = type;
        this.stack = stack;
        this.areaStyle = areaStyle;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getStack() {
        return stack;
    }

    public void setStack(String stack) {
        this.stack = stack;
    }

    public List<String[]> getData() {
        return data;
    }

    public void setData(List<String[]> data) {
        this.data = data;
    }

    public AreaStyle getAreaStyle() {
        return areaStyle;
    }

    public void setAreaStyle(AreaStyle areaStyle) {
        this.areaStyle = areaStyle;
    }

    public LineLabelBean getLabel() {
        return label;
    }

    public void setLabel(LineLabelBean label) {
        this.label = label;
    }
}

